package cn.com.shopec.erp.product.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @ClassName: CatBrand
 * @Description: 商品分类与品牌关系表
 * @author: gaoyaxiong
 * @date: 2013-5-30 下午14:14:13
 */
@Entity
@Table(name = "TBL_CAT_BRAND")
public class CatBrand {
	/** id **/
	private String id;
	/** 商品类别编号 **/
	private String catNo;
	/** 品牌编号 **/
	private String brandNo;

	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 32)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "CAT_NO")
	public String getCatNo() {
		return catNo;
	}

	public void setCatNo(String catNo) {
		this.catNo = catNo;
	}

	@Column(name = "BRAND_NO")
	public String getBrandNo() {
		return brandNo;
	}

	public void setBrandNo(String brandNo) {
		this.brandNo = brandNo;
	}

}
